<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>手机版-产品列表</title>
		<!--设置手机适应-->
		<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="/css/mobile/search.css"/>
		<link rel="stylesheet" type="text/css" href="/css/mobile/icon.css"/>
		<script src="/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="/js/mobilesearch.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="pagers">
			<!--搜索框-->
			<div class="search_bar clearfix">
				<div class="search_bar_left fl">
					<a href="/mobile/"><i class="glyphicon glyphicon-chevron-left"></i></a>
				</div>
				<div class="search_bar_right fl">
					<input type="text" name="search_input" value="" placeholder="请输出搜索内容" />
				</div>
			</div>
			<div class="bar_title">
				<div class="title">
					全部
				</div>				
			</div>
			<!--产品结果列表-->
			<%if(productlist.length>0){%>
			<div class="pd_list_panel">
				<ul class="pd_list">
					<%for(i=0;i<productlist.length;i++){%>
					<li>
						<div class="list_item clearfix">
							<!--左边图片-->
							<div class="list_item_img_panel fl">
								<a href="/mobile/product/<%=productlist[i].product_Id%>"><img src="<%=productlist[i].product_img%>"/></a>
							</div>
							<!--右边产品信息-->
							<div class="list_item_info fr">
								<div class="pd_title">
									<a href="/mobile/product/<%=productlist[i].product_Id%>"><h4><%=productlist[i].product_name%></h4></a> 
								</div>
								<div class="pd_price">
									￥<%=productlist[i].new_price%>
								</div>
								<div class="pd_link">
									<a href="/mobile/product/<%=productlist[i].product_Id%>">进入 ></a>
								</div>
							</div>
						</div>
					</li>
					<%}%>					
				</ul>
			</div>
		    <%}else{%>
		    <div class="noresult">
					<div class="inner">
						<div class="taogongzai"><img src="/img/search/mobile_taotao.png"/></div>
						<div class="item-not-found">
							<div>没有找到相关的宝贝</div>
						</div>
					</div>
				</div>
		    <%}%>	
		</div>
	</body>
</html>
